<!-- 右侧  -->
<div id="page-inner">
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-header">
                    废水排放评价
                </h1>
            </div>
        </div>
        <div class="row"></div>
        <div id="toolbar" class="btn-group">
            <button id="btn_add" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_edit" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>编辑
            </button>
            <button id="btn_delete" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            </button>
            <button id="btn_search" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>搜索
            </button>
        </div>

        <div id="toolbar2" class="btn-group">
            <button id="btn_add2" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_edit2" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>编辑
            </button>
            <button id="btn_delete2" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            </button>
        </div>

        <table id="data_table" class="table-striped table-hover"></table>
        <table id="table2" class="table-striped table-hover"></table>


    </div>

</div>

<!-- 添加 -->
<div class="modal fade" id="new_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">添加一项评价</h4>
            </div>
            <div id="new_data_body" class="modal-body">
                <div class="form-group">
                    <label>评价日期</label>
                    <input class="form-control" type="text" readonly="readonly" placeholder="" id="new_eva_date">
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填" id="new_company_name" type="text">
                </div>
                <div class="form-group">
                    <label>门类</label>
                    <select name="class1" class="form-control" id="new_class1" onchange="newGetClass2()"></select>
                </div>
                <div class="form-group">
                    <label>所属行业</label>
                    <select name="class1" class="form-control" id="new_class2" onclick=" newClass2Check()" onchange="newGetEvaBasis()"></select>
<!--                   <select name="class1" class="form-control" id="new_class2" onclick="newClass2Check()"></select>&ndash;&gt;-->
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <select name="companyType" class="form-control" id="new_company_type">
                        <option value="现有企业">现有企业</option>
                        <option value="新建和改扩建企业">新建和改扩建企业</option>
                    </select>
                </div>
                <div class="form-group" >
                    <label>评价依据</label>
                    <select name="evaBasis" class="form-control" id="new_eva_basis" onclick="newEvaBasisCheck()"></select>
                </div>
                <div class="form-group">
                    <label>评价单位</label>
                    <input class="form-control" placeholder="必填" id="new_eva_unit" type="text">
                </div>
                <div class="form-group">
                    <label>评价人员</label>
                    <input class="form-control" placeholder="" id="new_eva_person" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="new_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!-- 编辑 -->
<div class="modal fade" id="edit_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">编辑一项评价</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label>评价日期</label>
                    <input class="form-control" type="text" readonly="readonly" placeholder="" id="edit_eva_date">
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填" id="edit_company_name" type="text">
                </div>
                <div class="form-group">
                    <label>门类</label>
                    <select name="class1" class="form-control" id="edit_class1" onchange="editGetClass2()"></select>
                </div>
                <div class="form-group">
                    <label>所属行业</label>
                    <select name="class1" class="form-control" id="edit_class2" onclick=" editClass2Check()" onchange="editGetEvaBasis()"></select>
<!--                    <select name="class1" class="form-control" id="edit_class2" onclick="editClass2Check()"></select>-->
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <select name="companyType" class="form-control" id="edit_company_type">
                        <option value="现有企业">现有企业</option>
                        <option value="新建和改扩建企业">新建和改扩建企业</option>
                    </select>
                </div>
                <div class="form-group" >
                    <label>评价依据</label>
                    <select name="evaBasis" class="form-control" id="edit_eva_basis" onclick="editEvaBasisCheck()"></select>
                </div>
                <div class="form-group">
                    <label>评价单位</label>
                    <input class="form-control" placeholder="必填" id="edit_eva_unit" type="text">
                </div>
                <div class="form-group">
                    <label>评价人员</label>
                    <input class="form-control" placeholder="" id="edit_eva_person" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="edit_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!-- 搜素 -->
<div class="modal fade" id="search_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">搜索评价</h4>
            </div>
            <div class="modal-body" >
                <div class="form-group">
                    <label>搜索条件</label>
                    <input class="form-control" placeholder="请输入搜索条件" id="search_content" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="search_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
<!-- 添加2 -->
<div class="modal fade" id="new_data2" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">添加一项评价</h4>
            </div>
            <div id="new_data_body2" class="modal-body">
                <div class="form-group">
                    <label>评价日期</label>
                    <input class="form-control" type="text" readonly="readonly" placeholder="" id="new_eva_date2">
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填" id="new_company_name2" type="text">
                </div>
                <div class="form-group">
                    <label>门类</label>
                    <select name="class1" class="form-control" id="new_class12" onchange="newGetClass22()"></select>
                </div>
                <div class="form-group">
                    <label>所属行业</label>
                    <select name="class1" class="form-control" id="new_class22" onclick=" newClass2Check2()" onchange="newGetEvaBasis2()"></select>
                    <!--                   <select name="class1" class="form-control" id="new_class2" onclick="newClass2Check()"></select>&ndash;&gt;-->
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <select name="companyType2" class="form-control" id="new_company_type2">
                        <option value="1997年12月31日之前建设">1997年12月31日之前建设</option>
                        <option value="1998年1月1日之后建设">1998年1月1日之后建设</option>
                        <option value="新建企业">新建企业</option>
                    </select>
                </div>

                <div class="form-group" >
                    <label>评价依据</label>
                     <select name="evaBasis2" class="form-control" id="new_eva_basis2" >
                         <option value="GB 8978-1996">GB 8978-1996</option>
                     </select>

                 </div>



                 <div class="form-group" >
                     <label>适用范围</label>

                     <select name="evaScope2" class="form-control" id="new_eva_scope2" onclick="newEvaScope()" >

<!--                         <option value="GB 8978-1996">GB 8978-1996</option>-->

                     </select>

                     <!--
                     <input class="form-control" placeholder="必填" id="new_eva_scope2" type="text">
                     -->
                 </div>
                 <div class="form-group" >
                     <label>排放级别</label>

                    <select name="evaLevel2" class="form-control" id="new_eva_level2" onclick="newEvaLevel()"></select>
                     <!--
                      <input class="form-control" placeholder="必填" id="new_eva_level2" type="text">-->
                </div>
                <div class="form-group">
                    <label>评价单位</label>
                    <input class="form-control" placeholder="必填" id="new_eva_unit2" type="text">
                </div>
                <div class="form-group">
                    <label>评价人员</label>
                    <input class="form-control" placeholder="" id="new_eva_person2" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="new_data_submit2">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
<!-- 编辑 2-->
<div class="modal fade" id="edit_data2" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">编辑</h4>
            </div>
            <div id="edit_data_body2" class="modal-body">
                <div class="form-group">
                    <label>评价日期</label>
                    <input class="form-control" type="text" readonly="readonly" placeholder="" id="edit_eva_date2">
                </div>
                <div class="form-group">
                    <label>企业名称</label>
                    <input class="form-control" placeholder="必填" id="edit_company_name2" type="text">
                </div>
                <div class="form-group">
                    <label>门类</label>
                    <select name="class1" class="form-control" id="edit_class12" onchange="editGetClass2()"></select>
                </div>
                <div class="form-group">
                    <label>所属行业</label>
                    <select name="class1" class="form-control" id="edit_class22" onclick=" editClass2Check2()" onchange="editGetEvaBasis()"></select>
                    <!--                   <select name="class1" class="form-control" id="edit_class2" onclick="editClass2Check()"></select>&ndash;&gt;-->
                </div>
                <div class="form-group">
                    <label>企业类型</label>
                    <select name="companyType2" class="form-control" id="edit_company_type2">
                        <option value="1997年12月31日之前建设">1997年12月31日之前建设</option>
                        <option value="1998年1月1日之后建设">1998年1月1日之后建设</option>
                        <option value="新建企业">新建企业</option>
                    </select>
                </div>

                <div class="form-group" >
                    <label>评价依据</label>
                    <select name="evaBasis2" class="form-control" id="edit_eva_basis2" >
                        <option value="GB 8978-1996">GB 8978-1996</option>
                    </select>

                </div>

                <div class="form-group" >
                    <label>适用范围</label>
                    <select name="evaScope2" class="form-control" id="edit_eva_scope2" onclick="editEvaScope()"></select>
                </div>
                <div class="form-group" >
                    <label>排放级别</label>
                    <select name="evaLevel2" class="form-control" id="edit_eva_level2" onclick="editEvaLevel()"></select>
                </div>
                <div class="form-group">
                    <label>评价单位</label>
                    <input class="form-control" placeholder="必填" id="edit_eva_unit2" type="text">
                </div>
                <div class="form-group">
                    <label>评价人员</label>
                    <input class="form-control" placeholder="" id="edit_eva_person2" type="text">
                </div>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="edit_data_submit2">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<script src="pages/js/entity_eva_waste_water_main.js"></script>